package com.test2;

/**
 * @author cjx
 * @create 2024/06/07
 * @description
 */
public class PingpangPlayer extends Sportsman implements Speak{
    public PingpangPlayer() {
    }

    public PingpangPlayer(String name, int age) {
        super(name, age);
    }

    @Override
    public void play() {
        System.out.println(getName() + getAge() + "岁，打兵乓球");
    }

    @Override
    public void speakEnglish() {
        System.out.println(getName() + getAge() + "岁，说英文");
    }
}
